<!--
 * @Description: 伪元素选择器
 * @Author: zzj
 * @Date: 2021-08-16 11:22:39
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-16 11:29:05
 * @FilePath: \jiepuyiqing\tyut\zzj\2-css\day02\8-css-selector.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪元素选择器</title>
    <style>
        ul{
            list-style: none;
        }
        ul.menu{
            background-color: tomato;
        }
        ul.menu > li{
            float: left;
        }
        ul.menu::after{
            content:"";
            display: block;
            clear: both;
        }
    </style>
</head>
<body>
    <ul class="menu">
        <li>one</li>
        <li>two</li>
    </ul>
</body>
</html>